Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

250
Views
What is meant when a framework/library says "compile to Javascript"?

I was looking at elm: https://guide.elm-lang.org/

I see this type of phrase on some languages/frameworks: X is a language that compiles to JavaScript.

Does language X literally compile to another interpreted language? (I would see JS) Or Bytecode of that language? (I would see bytes/hex etc.)

If compiled to JS - would that mean the code can only go as fast as JS does?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Does language X literally compile to another interpreted language?

Yes, that's correct. You write code in elm, and then compile it into the equivalent javascript code. It needs to be in javascript, because that's what the browser understands (WebAssembly does exist, so javascript isn't technically the only option, but not everything is designed with WebAssembly in mind)

If compiled to JS - would that mean the code can only go as fast as JS does? (a lot of frameworks/languages tout how fast they are)

Yes. Though it could allow you to write high quality, efficient javascript code more easily, which is generally what they mean when they say it's fast.

about 4 years ago · Juan Pablo Isaza Report

0

Does language X literally compile to another interpreted language?

Yes, indeed. 'Transpilation' is the actual term of transforming one high-level language into another.

If compiled to JS - would that mean the code can only go as fast as JS does? (a lot of frameworks/languages tout how fast they are)

In the course of transpilation, the transpilers usually apply optimizations to produce highly efficient JavaScript that has the potential to be way faster than the average handwritten JavaScript.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!